package com.cxg.allsys.adminsys.mapper;

import com.cxg.allsys.adminsys.pojo.Expert;

import java.util.List;

public interface ExpertMapper {

    //分页查询
    public List<Expert> select(Integer pageIndex, Integer pageSize, String expertName);

    //根据专家ID查询
    Expert selectById(Integer expertId);

    //数据expert添加insert
    public void insert(Expert expert);

    //数据expert更新update
    public void update(Expert expert);

    //管理员重置专家状态
    public void updateExpertForEditStatus(Integer expertId,String status);

    //删除专家信息
    void deleteExpert(Expert expert);


}
